/**
 * output package name
 */
package com.kingdee.eas.fi.gl;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class VoucherStatusEnum extends IntEnum
{
    public static final int TEMP_VALUE = 0;
    public static final int SUBMITTED_VALUE = 1;
    public static final int CANCELLED_VALUE = 2;
    public static final int AUDITTED_VALUE = 3;
    public static final int POSTED_VALUE = 5;

    public static final VoucherStatusEnum TEMP = new VoucherStatusEnum("TEMP", TEMP_VALUE);
    public static final VoucherStatusEnum SUBMITTED = new VoucherStatusEnum("SUBMITTED", SUBMITTED_VALUE);
    public static final VoucherStatusEnum CANCELLED = new VoucherStatusEnum("CANCELLED", CANCELLED_VALUE);
    public static final VoucherStatusEnum AUDITTED = new VoucherStatusEnum("AUDITTED", AUDITTED_VALUE);
    public static final VoucherStatusEnum POSTED = new VoucherStatusEnum("POSTED", POSTED_VALUE);

    /**
     * construct function
     * @param integer voucherStatusEnum
     */
    private VoucherStatusEnum(String name, int voucherStatusEnum)
    {
        super(name, voucherStatusEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static VoucherStatusEnum getEnum(String voucherStatusEnum)
    {
        return (VoucherStatusEnum)getEnum(VoucherStatusEnum.class, voucherStatusEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static VoucherStatusEnum getEnum(int voucherStatusEnum)
    {
        return (VoucherStatusEnum)getEnum(VoucherStatusEnum.class, voucherStatusEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(VoucherStatusEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(VoucherStatusEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(VoucherStatusEnum.class);
    }
}